Crypto API (Linux)

Crypto API is a cryptography framework in the Linux kernel, for various parts of the kernel that deal with cryptography, such as IPsec and dm-crypt. It was introduced in kernel version 2.4.12 and has since expanded to include essentially all popular block ciphers and hash functions.

Contents

Userspace interfaces

A userspace API to the kernel Crypto API is important when hardware crypto acceleration (typically AES) is exposed to the OS without an extension to the instruction set, such as with popular ARM Kirkwood SheevaPlug and AMD Geode processors.

AF_ALG

A netlink based interface, that adds an AF_ALG interface family,[1] was merged in 2.6.38.[2][3] There is a plugin to OpenSSL to support AF_ALG,[4] which has been submitted for merging.[5]

cryptodev

The /dev/crypto interface of OpenBSD was ported to Linux[6][7], but never merged.

References

See also

Cryptography portal
Free software portal